import request from '@/utils/request'

// 查询考生考试验证列表
export function listVerify(query) {
  return request({
    url: '/business/examVerifies',
    method: 'get',
    params: query
  })
}

// 查询考生考试验证详细
export function getVerify(id) {
  return request({
    url: '/business/examVerifies/' + id,
    method: 'get'
  })
}

// 新增考生考试验证
export function addVerify(data) {
  return request({
    url: '/business/examVerifies',
    method: 'post',
    data: data
  })
}

// 修改考生考试验证
export function updateVerify(data,id) {
  return request({
    url: '/business/examVerifies/'+ id,
    method: 'put',
    data: data
  })
}

// 删除考生考试验证
export function delVerify(id) {
  return request({
    url: '/business/examVerifies/' + id,
    method: 'delete'
  })
}

// 导出考生考试验证
export function exportVerify(query) {
  return request({
    url: '/business/examVerifies/export',
    method: 'get',
    params: query
  })
}
